package zhaomh.zhlib;

import zhaomh.zhlib.config.EnumValue;
import zhaomh.zhlib.config.ToggleValue;
import zhaomh.zhlib.gui.screen.ConfigScreen;

import java.util.List;

public class test implements ModInstance {
    public static ConfigScreen getTestConfigScreen() {
        return ConfigScreen.builder(List.of("type1", "type2", "type3", "type4"))
                .addValue(new ToggleValue("toggleValue-1"), "type1")
                .addValue(new ToggleValue("toggleValue-2"), "type1")
                .addValue(new EnumValue("enumValue-1", List.of("v1", "v2", "v3")), "type1")
                .addValue(new ToggleValue("toggleValue-3"), "type1")
                .addValue(new ToggleValue("toggleValue-4"), "type2")
                .addValue(new ToggleValue("toggleValue-5"), "type2")
                .addValue(new EnumValue("enumValue-2", List.of("av1", "av2", "av3")), "type2")
                .addValue(new ToggleValue("toggleValue-6"), "type2")
                .addValue(new ToggleValue("toggleValue-7"), "type3")
                .addValue(new ToggleValue("toggleValue-8"), "type3")
                .addValue(new EnumValue("enumValue-3", List.of("v1a", "v2a", "v3a")), "type3")
                .addValue(new ToggleValue("toggleValue-9"), "type3")
                .addValue(new ToggleValue("toggleValue-10"), "type4")
                .addValue(new ToggleValue("toggleValue-11"), "type4")
                .addValue(new EnumValue("enumValue-4", List.of("v1xx", "v2xx", "v3xx")), "type4")
                .addValue(new ToggleValue("toggleValue-12"), "type4").build();
    }
}
